package com.zhike.common.model;

import java.io.Serializable;

import org.springframework.data.annotation.Id;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@ApiModel("RandomUserNickname")
@TableName(value = "random_user_nickname")
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class RandomUserNickname implements Serializable {
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "id", hidden = true)
    private Long id;

    @ApiModelProperty(name = "nickname", value = "昵称")
    private String nickname;
}
